var accountFormNamespace = accountFormNamespace || {};

accountFormNamespace.onFormLoad = function (executionContext) {

      debugger
      // 获取当前用户的LCID
     var lcid = Xrm.Utility.getGlobalContext().userSettings.languageId;
     console.log("Current LCID:", lcid);

     var onLoadMsg = Xrm.Utility.getResourceString(`qzw_/resxs/ss_lang_${lcid}`, "successmsg");
     debugger;
     var formContext = executionContext.getFormContext();
     alert(onLoadMsg);

    
}

